<!doctype html>
<html lang="zh-CN">

<head>
  <?php include 'inc/head.php'; ?>
  <style>
  html {
    font-size: 16px;
  }

  .form-signin {
    max-width: 520px;
    padding: 10vh 15px;
    margin: 0 auto;
  }
  </style>
</head>

<body>
  <div class="container">

    <form method="post" class="form-signin" action="<?php echo M('admin', 'index', 'login_action'); ?>">
      <h3 class="form-signin-heading text-center">系统管理后台</h3>
      <hr>
      <input type="text" name="a_name" id="a_name" class="form-control form-control-lg" placeholder="管理员" required
        autofocus>

      <input type="password" name="a_password" id="a_password" class="form-control form-control-lg" placeholder="密码"
        required>

      <div class="input-group input-group-lg">
        <input id="vercode" type="text" name="vercode" class="form-control" placeholder="验证码" required>
        <img src="<?php echo M('admin', 'verifycode'); ?>"
          onclick="javascript:this.src='<?php echo M('admin', 'verifycode'); ?>'" class="hand" title="点击刷新验证码">
      </div>

      <div class="d-grid gap-2">
        <button class="btn btn-primary btn-lg" type="submit">登录</button>
      </div>
    </form>

  </div>

</body>

</html>